li r2, 200
li r3, 50


addi    r4, r0, 0       // Then to assign the r4 to 0 for the loop counter

init: 
 
sub     r7, r2 ,r4
blez r7, endinit

add     r5, r3, r4
store   r4, 0(r5)
addi    r4, r4, 1
bez     r0,init
 
endinit :


addi    r4, r0, 0

move :

sub     r7, r2 ,r4
blez r7,endmove

add     r5, r3, r4
load    r6, 0(r5)
addi    r6, r6, 1
store   r6, 0(r5)
addi	r4, r4, 1
bez     r0, move

endmove :